#' @param max.iter Integer, the maximum number of iterations. Default to  <%= max.iter.default %>.
